package nancal.mp.db.mongo.table

import java.io.*
import nbcp.base.db.*
import nbcp.base.comm.*
import nbcp.base.extend.*
import nbcp.base.enums.*
import nbcp.base.utils.*
import nbcp.myoql.db.*
import nbcp.myoql.db.comm.*
import nbcp.myoql.db.enums.*
import nbcp.myoql.db.mongo.*
import nbcp.myoql.db.mongo.base.*
import nbcp.myoql.db.mongo.component.*
import org.slf4j.LoggerFactory
import org.springframework.stereotype.*



class SourceDataMeta(private val parentPropertyName: String): MongoColumnName() {
    constructor(value: MongoColumnName) : this(value.toString()) {}
    val zipFile = IdUrlMeta(mongoColumnJoin(this.parentPropertyName, "zipFile"))
    /**
     * 集群
     */
    @nbcp.base.db.annotation.Cn(value = """集群""")
    val clusterCode = mongoColumnJoin(this.parentPropertyName, "clusterCode")
    val language = mongoColumnJoin(this.parentPropertyName, "language")
    /**
     * 开发语言的版本，如 1.8,11,17
     */
    @nbcp.base.db.annotation.Cn(value = """开发语言的版本，如 1.8,11,17""")
    val languageVersion = mongoColumnJoin(this.parentPropertyName, "languageVersion")
    val productLine = IdCodeNameMeta(mongoColumnJoin(this.parentPropertyName, "productLine"))
    val remark = mongoColumnJoin(this.parentPropertyName, "remark")
    override fun toString(): String {
        return mongoColumnJoin(this.parentPropertyName).toString()
    }
}

